${if(len(sf)>0," and a.lv3_corp_code in (select unit_id from dim.dim_v_dcsp_org_unit where full_id like concat('%','"+org+"','%'))"," and  a.org_code in (select unit_id from dim.dim_v_dcsp_org_unit where full_id like concat('%','"+org+"','%')) ")} 